//
//  DarkThemeColor.swift
//  FearfulNotification
//
//  Created by Jabin on 2019/5/27.
//  Copyright © 2019 筱鹏. All rights reserved.
//

import UIKit


struct DarkTheme: ThemeProtocol {
    /** 颜色 */
    static var color: ThemeColorProtocol.Type {
        return DarkThemeColor.self
    }
    
    /** 字体 */
    static var font: ThemeFontProtocol.Type {
        return DarkThemeFont.self
    }
}

struct DarkThemeColor: ThemeColorProtocol {
    
    static var background: UIColor {
        return UIColor(rgb: 0x000000)
    }
    
    static var foreground: UIColor {
        return UIColor(rgb: 0x9e2e20)
    }
    
    static var navigationButtonText: UIColor {
        return UIColor(rgb: 0xECEFF2)
    }
    
    static var navigationTitle: UIColor {
        return UIColor(rgb: 0x655aef)
    }
    
    static var title: UIColor {
        return UIColor(rgb: 0x655aef)
    }
    
    static var description: UIColor {
        return UIColor(rgb: 0xECEFF2)
    }
    
    static var date: UIColor {
        return UIColor(rgb: 0x9e2e20)
    }
    
    static var septationLine: UIColor {
        return UIColor(rgb: 0xF6F6F6)
    }
    
    static var indicatorForeground: UIColor {
        return UIColor(rgb: 0x4edcca)
    }
    
    static var indicatorBackground: UIColor {
        return UIColor(rgb: 0x000000, 0.8)
    }
}

struct DarkThemeFont: ThemeFontProtocol {
    static var title: UIFont {
        return UIFont.boldSystemFont(ofSize: 25)
    }
    
    static var description: UIFont {
        return UIFont.systemFont(ofSize: 10)
    }
    
    static var date: UIFont {
        return UIFont.boldSystemFont(ofSize: 22)
    }
    
    static var indicatorForeground: UIFont {
        return UIFont.systemFont(ofSize: 18)
    }
}
